// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import CodeMirror from 'codemirror'

import { Component, Prop, Watch } from 'vue-property-decorator'
// import * as WithRender from './setting.html?style=./setting.less'
// import * as CodeMirror from 'codemirror/lib/codemirror'
// import 'codemirror/theme/monokai.css'
// import 'codemirror/lib/codemirror.css'
// import 'codemirror/mode/javascript/javascript'
// import 'codemirror/mode/clike/clike'
// import 'codemirror/mode/go/go'
// import 'codemirror/mode/htmlmixed/htmlmixed'
// import 'codemirror/mode/php/php'
// import 'codemirror/mode/python/python'
// import 'codemirror/mode/http/http'
// import 'codemirror/mode/sql/sql'
// import 'codemirror/mode/vue/vue'
// import 'codemirror/mode/xml/xml'
// import 'codemirror/addon/scroll/simplescrollbars.css'
// import 'codemirror/addon/scroll/simplescrollbars'
// import 'codemirror/addon/hint/show-hint'
// import 'codemirror/addon/hint/javascript-hint'
// import 'codemirror/addon/hint/sql-hint'
// import 'codemirror/addon/hint/html-hint'
// import 'codemirror/addon/hint/xml-hint'
// import 'codemirror/addon/hint/anyword-hint'
// import 'codemirror/addon/hint/css-hint'
// import 'codemirror/addon/hint/show-hint.css'
// import 'codemirror/addon/fold/markdown-fold'
// import 'codemirror/mode/meta'
// import 'codemirror/addon/fold/foldgutter.css'
// import 'codemirror/addon/fold/foldcode'
// import 'codemirror/addon/fold/brace-fold'
// import 'codemirror/addon/selection/active-line'

Vue.config.productionTip = false
Vue.prototype.$codeMirror = CodeMirror

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
